package com.shinbada.modules.competitor.mapper;

import org.springframework.stereotype.Repository;
import com.shinbada.core.persistence.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.shinbada.modules.competitor.entity.CompetitorProductSeries;

import java.util.List;

/**
 * 产品系列MAPPER接口
 * @author initcap
 * @version 2021-08-04
 */
@Mapper
@Repository
public interface CompetitorProductSeriesMapper extends BaseMapper<CompetitorProductSeries> {
    /**
     * 根据品牌id获取该品牌下所有系列
     * @param brandId
     * @return
     */
    List<CompetitorProductSeries> getSeriesListByBrandId(String brandId);
}
